﻿using System;

namespace Apprender.Utilities
{
    public static class UEnum
    {
        public static T ToEnum<T>(byte number)
        {
            return (T)System.Enum.ToObject(typeof(T), number);
        }

        

    }
}
